package cn.hnu.qq.entity.message;

import cn.hnu.qq.global.MessageType;

public class LeaveWordsMessage extends Message {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String leaver;
	
	private String scanner;
	
	private String leavingWords;

	public LeaveWordsMessage() {
		setMessageType(MessageType.LEAVE_WORDS);
	}
	
	public String getLeaver() {
		return leaver;
	}

	public void setLeaver(String leaver) {
		this.leaver = leaver;
	}

	public String getScanner() {
		return scanner;
	}

	public void setScanner(String scanner) {
		this.scanner = scanner;
	}

	public String getLeavingWords() {
		return leavingWords;
	}

	public void setLeavingWords(String leavingWords) {
		this.leavingWords = leavingWords;
	}

	@Override
	public String toString() {
		return "LeaveWordsMessage [leaver=" + leaver + ", scanner=" + scanner
				+ ", leavingWords=" + leavingWords + "]";
	}
	
	
}
